<template>
  <view class="page">
    <Header> </Header>
    <view class="main_container">
      <view class="main_content">
        <Breadcrumb :text="'个人评测-排位賽'"> </Breadcrumb>
        <view class="content">
          <ReceivingStation
            :list="paperList"
            @push="handlePush"
            @select="handleSelect"
          ></ReceivingStation>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import { receiveExamList } from "@/api/task";
export default {
  components: {},
  data() {
    return {
      paperList: [],
    };
  },
  onLoad() {
    this.init();
  },
  methods: {
    init() {
      let params = {
        gameType: "3",
      };
      receiveExamList(params).then((res) => {
        this.paperList = res.data;
      });
    },
    handlePush() {
      uni.navigateTo({
        url: "/pages/task/rank/rankList",
      });
    },
    handleSelect(id) {
      uni.navigateTo({
        url: `/pages/task/rank/rankDetail?id=${id}`,
      });
    },
  },
};
</script>
<style scoped lang="scss">
@import "./rank";
</style>
